<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Application_Model_Brand
 *
 * @author Eugene
 */
class Application_Model_Brand extends Application_Model_Abstract
{

	/**
	 * @var int
	 */
	protected $_id;

	/**
	 * @var string
	 */
	protected $_name;

	/**
	 * @var string
	 */
	protected $_image;

	/**
	 * @var string
	 */
	protected $_description;

	/**
	 *
	 * @return array
	 */
	public function toArray()
	{
		return array(
			'id' => $this->getId(),
			'name' => $this->getName(),
			'image' => $this->getImage(),
			'description' => $this->getDescription()
		);
	}

	/**
	 *
	 * @param int $id
	 * @return Application_Model_Brand
	 */
	public function setId($id)
	{
		$this->_id = (int) $id;

		return $this;
	}

	/**
	 *
	 * @return int
	 */
	public function getId()
	{
		return $this->_id;
	}

	/**
	 *
	 * @param string $name
	 * @return Application_Model_Brand
	 */
	public function setName($name)
	{
		$this->_name = (string) $name;

		return $this;
	}

	/**
	 *
	 * @return string
	 */
	public function getName()
	{
		return $this->_name;
	}

	/**
	 *
	 * @param string $image
	 * @return Application_Model_Brand
	 */
	public function setImage($image)
	{
		$this->_image = (string) $image;

		return $this;
	}

	/**
	 *
	 * @return string
	 */
	public function getImage()
	{
		return $this->_image;
	}

	/**
	 *
	 * @param string $description
	 * @return Application_Model_Brand
	 */
	public function setDescription($description)
	{
		$this->_description = (string) $description;

		return $this;
	}

	/**
	 *
	 * @return string
	 */
	public function getDescription()
	{
		return $this->_description;
	}

}